package top.yeyusmile;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * A Camel Application
 */
@ServletComponentScan(basePackages = "top.yeyusmile.common")
@SpringBootApplication
@EnableScheduling
public class MainApp {

    /**
     * A main() so we can easily run these routing rules in our IDE
     */

    public static void main(String[] args) {
        SpringApplication.run(MainApp.class,args);
    }

}

